package com.skynet.supervision.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skynet.supervision.beans.response.user.DeptUserItemResponse;
import com.skynet.supervision.beans.vo.dept.DeptItemVo;
import com.skynet.supervision.entities.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface UserInfosMapper extends BaseMapper<UserInfo>  {
    UserInfo queryByUserId(String userId);

    List<UserInfo> queryAll();

    List<DeptUserItemResponse> getDeptUserList();

    List<DeptItemVo> getDeptIdByUid(String uid);

}
